﻿using IterationLife.Educations.Queries;
using IterationLife.Extensions.ControllerBase;
using IterationLife.PlatformBackEnd.AppServices.Contracts.Educations;
using IterationLife.PlatformBackEnd.AppServices.Dtos.Educations;

namespace IterationLife.PlatformBackEnd.WebSite.Areas.Educations.Controllers {
    /// <summary>
    /// 用户能力控制器
    /// </summary>
    public class UserAbilityController : FormControllerBase<UserAbilityDto, UserAbilityQuery> {
        /// <summary>
        /// 初始化用户能力控制器
        /// </summary>
        /// <param name="service">用户能力服务</param>
        public UserAbilityController( IUserAbilityService service ) 
            : base( service ) {
            UserAbilityService = service;
        }

        /// <summary>
        /// 用户能力服务
        /// </summary>
        public IUserAbilityService UserAbilityService { get; private set; }
    }
}